﻿using TheSnakeGame.Engine;
using TheSnakeGame.Engine.GameObjects;

namespace Tests.TheSnakeGame.Engine.Mocks
{
    public class DoActionGameObjectMock : GameObject
    {
        public bool DoActionWasCalled 
        { 
            get;
            set;
        }

        public DoActionGameObjectMock(Point position)
        {
            this.Position = position;
            this.DoActionWasCalled = false;
        }

        public override void DoAction()
        {
            this.DoActionWasCalled = true;
        }
    }
}
